package top.chmin.project.cloud.common.code.template.auto;

// field import auto
// #bind.field.fixLength#

import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.RestController;
import top.chmin.project.cloud.common.entity.Page;

import java.util.List;

/**
 * chmin
 * 2023-12-27 19:56:45
 * cloud-builder
 */
@RestController
public class CodeTemplateController implements
// entity selectInterface auto
// entity selectInterface auto
        CodeTemplateCodeNameSelect,

// entity searchInterface auto
        CodeTemplateSave,
        CodeTemplateUpdateById,
        CodeTemplateDeleteById,
        CodeTemplateSelectById,
        CodeTemplateSelectPage {

    @Resource
    CodeTemplateService service;

    @Override
    public int save(CodeTemplateSave.Param param) {
        return service.save(param);
    }

    @Override
    public int updateById(CodeTemplateUpdateById.Param param) {
        return service.updateById(param);
    }

    @Override
    public int deleteById(CodeTemplateDeleteById.Param param) {
        return service.deleteById(param);
    }

    @Override
    public CodeTemplateSelectById.Result selectById(CodeTemplateSelectById.Param param) {
        return service.selectById(param);
    }

    @Override
    public Page<CodeTemplateSelectPage.Result> selectPage(CodeTemplateSelectPage.Param param) {
        return service.selectPage(param);
    }

    // entity select auto
    // entity select auto
    @Override
    public List<CodeTemplateCodeNameSelect.Result> selectCodeName(CodeTemplateCodeNameSelect.Param param) {
        return service.selectCodeName(param);
    }


// entity search auto

}
